package com.lyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyun.bo.GetAllMovementBo;
import com.lyun.dto.AdminMovementsDTO;
import com.lyun.pojo.Movements;
import com.lyun.vo.AdminMovementsVO;
import com.lyun.vo.MovementsVo;
import com.lyun.vo.PageVO;

import java.util.List;

public interface MovementsService extends IService<Movements> {
    PageVO<MovementsVo> selectMovenmentsPageByUserId(GetAllMovementBo bo);

    Long saveAndGetId(Movements movements);

    List<Movements> queryByIds(List<Long> ids);

    MovementsVo getMovementInfoByMovementId(Long movementId, Long selfId);

    PageVO<MovementsVo> getRecommendFriendList(Long id, Integer page, Integer pagesize);

    PageVO<AdminMovementsVO> getMovementPage(AdminMovementsDTO dto);

    /**
     *
     * @param dto
     */
    void auditMovements(AdminMovementsDTO dto);
}
